<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxRenderBuffer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxRenderBuffer_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxRenderBuffer.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxRenderBuffer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef PX_FOUNDATION_PXRENDERBUFFER_H</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define PX_FOUNDATION_PXRENDERBUFFER_H</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxPhysXCommonConfig_8h.html">common/PxPhysXCommonConfig.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVec3_8h.html">foundation/PxVec3.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxMat33_8h.html">foundation/PxMat33.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxBounds3_8h.html">foundation/PxBounds3.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structPxDebugColor.html">   51</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxDebugColor.html">PxDebugColor</a></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2">   53</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2">Enum</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a19abb1d2e13cfd6c38e6b71e7163f123">   55</a></span>&#160;        eARGB_BLACK     = 0xff000000,</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a72dbc230c8027f75b6b828a66e880777">   56</a></span>&#160;        eARGB_RED       = 0xffff0000,</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2af4f45d016d2b07144770285f6277d3a8">   57</a></span>&#160;        eARGB_GREEN     = 0xff00ff00,</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a17fd82b61392aaa5b08fab00bac23165">   58</a></span>&#160;        eARGB_BLUE      = 0xff0000ff,</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a6d840e1bf5abb303e1cec3da131d36d9">   59</a></span>&#160;        eARGB_YELLOW    = 0xffffff00,</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a267ad667c6a1169d3ec5284821532b25">   60</a></span>&#160;        eARGB_MAGENTA   = 0xffff00ff,</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a5b515dc5527e065e23a68dd9851d8f3e">   61</a></span>&#160;        eARGB_CYAN      = 0xff00ffff,</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a650d98f6dfd1309f7c43e621eabe2069">   62</a></span>&#160;        eARGB_WHITE     = 0xffffffff,</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a49ad9b6efb1882dd6d1141f311af5aa6">   63</a></span>&#160;        eARGB_GREY      = 0xff808080,</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2aa23fc036f078a8fc521938fe9f0ee0e9">   64</a></span>&#160;        eARGB_DARKRED   = 0x88880000,</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2a56c9d0dbd6ea53d66c0b7aab1aed746b">   65</a></span>&#160;        eARGB_DARKGREEN = 0x88008800,</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2abfc267aea5a972d9808c42c489e7248d">   66</a></span>&#160;        eARGB_DARKBLUE  = 0x88000088</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    };</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;};</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structPxDebugPoint.html">   73</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxDebugPoint.html">PxDebugPoint</a></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;{</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structPxDebugPoint.html#afbafc4862a38a0db581d2382ead4296a">   75</a></span>&#160;    <a class="code" href="structPxDebugPoint.html#afbafc4862a38a0db581d2382ead4296a">PxDebugPoint</a>(<span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p, <span class="keyword">const</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&amp; c)</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        : pos(p), color(c) {}</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structPxDebugPoint.html#a819caec76aaea19eb13d6eeda6390d32">   78</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugPoint.html#a819caec76aaea19eb13d6eeda6390d32">pos</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structPxDebugPoint.html#af675d73fa342d67d973b532950401b62">   79</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugPoint.html#af675d73fa342d67d973b532950401b62">color</a>;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;};</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structPxDebugLine.html">   85</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxDebugLine.html">PxDebugLine</a></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structPxDebugLine.html#a10269eccc2fe05978ff765aca850c2c4">   87</a></span>&#160;    <a class="code" href="structPxDebugLine.html#a10269eccc2fe05978ff765aca850c2c4">PxDebugLine</a>(<span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p0, <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&amp; c)</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        : pos0(p0), color0(c), pos1(p1), color1(c) {}</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structPxDebugLine.html#ab1b459f6b3ae5653c5577f2bb9dca994">   90</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugLine.html#ab1b459f6b3ae5653c5577f2bb9dca994">pos0</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structPxDebugLine.html#a32f832e125b4e64656707b86e4133ba7">   91</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugLine.html#a32f832e125b4e64656707b86e4133ba7">color0</a>;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structPxDebugLine.html#a0b133bb95ca5efd511edaf9d1e2fca68">   92</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugLine.html#a0b133bb95ca5efd511edaf9d1e2fca68">pos1</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structPxDebugLine.html#a4fb36a713850435e5fbfff8aa64399f5">   93</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugLine.html#a4fb36a713850435e5fbfff8aa64399f5">color1</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;};</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html">   99</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxDebugTriangle.html">PxDebugTriangle</a></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;{</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#a9680024224f24c2e94d0f3be8bad0b02">  101</a></span>&#160;    <a class="code" href="structPxDebugTriangle.html#a9680024224f24c2e94d0f3be8bad0b02">PxDebugTriangle</a>(<span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p0, <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p2, <span class="keyword">const</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&amp; c)</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        : pos0(p0), color0(c), pos1(p1), color1(c), pos2(p2), color2(c) {}</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#a632b01d73e3e231f8162822fbe6083f9">  104</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugTriangle.html#a632b01d73e3e231f8162822fbe6083f9">pos0</a>;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#aa8c19d7489972ea160a04f5c10799169">  105</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugTriangle.html#aa8c19d7489972ea160a04f5c10799169">color0</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#adddc9ebf89a48b41fe386bf9387e9176">  106</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugTriangle.html#adddc9ebf89a48b41fe386bf9387e9176">pos1</a>;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#adf5c44f8592e65b83e92df71f9349318">  107</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugTriangle.html#adf5c44f8592e65b83e92df71f9349318">color1</a>;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#a693e3df509968b0d2337ae43d460c21f">  108</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>  <a class="code" href="structPxDebugTriangle.html#a693e3df509968b0d2337ae43d460c21f">pos2</a>;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structPxDebugTriangle.html#aa33933d9d754038229c1260d7a5b0450">  109</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>   <a class="code" href="structPxDebugTriangle.html#aa33933d9d754038229c1260d7a5b0450">color2</a>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;};</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structPxDebugText.html">  115</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxDebugText.html">PxDebugText</a></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structPxDebugText.html#a3d263f21a8ed41bebda87ab9729f5df8">  117</a></span>&#160;    <a class="code" href="structPxDebugText.html#a3d263f21a8ed41bebda87ab9729f5df8">PxDebugText</a>() : string(0) {}</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structPxDebugText.html#a44db51cb74e87972b0c53196574b1230">  119</a></span>&#160;    <a class="code" href="structPxDebugText.html#a44db51cb74e87972b0c53196574b1230">PxDebugText</a>(<span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; p, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>&amp; s, <span class="keyword">const</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&amp; c, <span class="keyword">const</span> <span class="keywordtype">char</span>* str)</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        : position(p), size(s), color(c), string(str) {}</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structPxDebugText.html#a5ca6de83a63fce8200feb44f0b403abe">  122</a></span>&#160;    <a class="code" href="classPxVec3.html">PxVec3</a>      <a class="code" href="structPxDebugText.html#a5ca6de83a63fce8200feb44f0b403abe">position</a>;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structPxDebugText.html#a7b3df4bd9ee03d727a483dd682880156">  123</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>      <a class="code" href="structPxDebugText.html#a7b3df4bd9ee03d727a483dd682880156">size</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structPxDebugText.html#ab6729c85aac23411b99259a18d9e2dc0">  124</a></span>&#160;    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>       <a class="code" href="structPxDebugText.html#ab6729c85aac23411b99259a18d9e2dc0">color</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structPxDebugText.html#afaa07a2dede3feb72b8c260aa518a433">  125</a></span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structPxDebugText.html#afaa07a2dede3feb72b8c260aa518a433">string</a>;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;};</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classPxRenderBuffer.html">  131</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxRenderBuffer.html">PxRenderBuffer</a></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classPxRenderBuffer.html#a205c1bd428f6b3705ea6bdada3c631cf">  134</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxRenderBuffer.html#a205c1bd428f6b3705ea6bdada3c631cf">~PxRenderBuffer</a>() {}</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> getNbPoints() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxDebugPoint.html">PxDebugPoint</a>* getPoints() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> getNbLines() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxDebugLine.html">PxDebugLine</a>* getLines() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> getNbTriangles() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxDebugTriangle.html">PxDebugTriangle</a>* getTriangles() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> getNbTexts() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="structPxDebugText.html">PxDebugText</a>* getTexts() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> append(<span class="keyword">const</span> <a class="code" href="classPxRenderBuffer.html">PxRenderBuffer</a>&amp; other) = 0;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> clear() = 0;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;};</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="structPxDebugLine_html_a4fb36a713850435e5fbfff8aa64399f5"><div class="ttname"><a href="structPxDebugLine.html#a4fb36a713850435e5fbfff8aa64399f5">PxDebugLine::color1</a></div><div class="ttdeci">PxU32 color1</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:93</div></div>
<div class="ttc" id="structPxDebugText_html_a7b3df4bd9ee03d727a483dd682880156"><div class="ttname"><a href="structPxDebugText.html#a7b3df4bd9ee03d727a483dd682880156">PxDebugText::size</a></div><div class="ttdeci">PxReal size</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:123</div></div>
<div class="ttc" id="structPxDebugLine_html_a32f832e125b4e64656707b86e4133ba7"><div class="ttname"><a href="structPxDebugLine.html#a32f832e125b4e64656707b86e4133ba7">PxDebugLine::color0</a></div><div class="ttdeci">PxU32 color0</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:91</div></div>
<div class="ttc" id="PxPhysXCommonConfig_8h_html"><div class="ttname"><a href="PxPhysXCommonConfig_8h.html">PxPhysXCommonConfig.h</a></div></div>
<div class="ttc" id="structPxDebugTriangle_html_adf5c44f8592e65b83e92df71f9349318"><div class="ttname"><a href="structPxDebugTriangle.html#adf5c44f8592e65b83e92df71f9349318">PxDebugTriangle::color1</a></div><div class="ttdeci">PxU32 color1</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:107</div></div>
<div class="ttc" id="structPxDebugColor_html"><div class="ttname"><a href="structPxDebugColor.html">PxDebugColor</a></div><div class="ttdoc">Default color values used for debug rendering. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:51</div></div>
<div class="ttc" id="structPxDebugTriangle_html"><div class="ttname"><a href="structPxDebugTriangle.html">PxDebugTriangle</a></div><div class="ttdoc">Used to store a single triangle and colour for debug rendering. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:99</div></div>
<div class="ttc" id="namespacephysx_html_a727d2d8426e2a21ebbc522fa65c3f97a"><div class="ttname"><a href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">physx::PxReal</a></div><div class="ttdeci">float PxReal</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:78</div></div>
<div class="ttc" id="classPxRenderBuffer_html_a205c1bd428f6b3705ea6bdada3c631cf"><div class="ttname"><a href="classPxRenderBuffer.html#a205c1bd428f6b3705ea6bdada3c631cf">PxRenderBuffer::~PxRenderBuffer</a></div><div class="ttdeci">virtual ~PxRenderBuffer()</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:134</div></div>
<div class="ttc" id="structPxDebugTriangle_html_adddc9ebf89a48b41fe386bf9387e9176"><div class="ttname"><a href="structPxDebugTriangle.html#adddc9ebf89a48b41fe386bf9387e9176">PxDebugTriangle::pos1</a></div><div class="ttdeci">PxVec3 pos1</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:106</div></div>
<div class="ttc" id="structPxDebugPoint_html_afbafc4862a38a0db581d2382ead4296a"><div class="ttname"><a href="structPxDebugPoint.html#afbafc4862a38a0db581d2382ead4296a">PxDebugPoint::PxDebugPoint</a></div><div class="ttdeci">PxDebugPoint(const PxVec3 &amp;p, const PxU32 &amp;c)</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:75</div></div>
<div class="ttc" id="structPxDebugPoint_html"><div class="ttname"><a href="structPxDebugPoint.html">PxDebugPoint</a></div><div class="ttdoc">Used to store a single point and colour for debug rendering. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:73</div></div>
<div class="ttc" id="structPxDebugText_html_a5ca6de83a63fce8200feb44f0b403abe"><div class="ttname"><a href="structPxDebugText.html#a5ca6de83a63fce8200feb44f0b403abe">PxDebugText::position</a></div><div class="ttdeci">PxVec3 position</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:122</div></div>
<div class="ttc" id="structPxDebugLine_html_a0b133bb95ca5efd511edaf9d1e2fca68"><div class="ttname"><a href="structPxDebugLine.html#a0b133bb95ca5efd511edaf9d1e2fca68">PxDebugLine::pos1</a></div><div class="ttdeci">PxVec3 pos1</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:92</div></div>
<div class="ttc" id="structPxDebugTriangle_html_aa8c19d7489972ea160a04f5c10799169"><div class="ttname"><a href="structPxDebugTriangle.html#aa8c19d7489972ea160a04f5c10799169">PxDebugTriangle::color0</a></div><div class="ttdeci">PxU32 color0</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:105</div></div>
<div class="ttc" id="structPxDebugTriangle_html_aa33933d9d754038229c1260d7a5b0450"><div class="ttname"><a href="structPxDebugTriangle.html#aa33933d9d754038229c1260d7a5b0450">PxDebugTriangle::color2</a></div><div class="ttdeci">PxU32 color2</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:109</div></div>
<div class="ttc" id="PxBounds3_8h_html"><div class="ttname"><a href="PxBounds3_8h.html">PxBounds3.h</a></div></div>
<div class="ttc" id="structPxDebugText_html_afaa07a2dede3feb72b8c260aa518a433"><div class="ttname"><a href="structPxDebugText.html#afaa07a2dede3feb72b8c260aa518a433">PxDebugText::string</a></div><div class="ttdeci">const char * string</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:125</div></div>
<div class="ttc" id="classPxRenderBuffer_html"><div class="ttname"><a href="classPxRenderBuffer.html">PxRenderBuffer</a></div><div class="ttdoc">Interface for points, lines, triangles, and text buffer. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:131</div></div>
<div class="ttc" id="structPxDebugText_html_ab6729c85aac23411b99259a18d9e2dc0"><div class="ttname"><a href="structPxDebugText.html#ab6729c85aac23411b99259a18d9e2dc0">PxDebugText::color</a></div><div class="ttdeci">PxU32 color</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:124</div></div>
<div class="ttc" id="structPxDebugColor_html_affaed1e04fc675d60f04e2c4d949dcf2"><div class="ttname"><a href="structPxDebugColor.html#affaed1e04fc675d60f04e2c4d949dcf2">PxDebugColor::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:53</div></div>
<div class="ttc" id="structPxDebugTriangle_html_a693e3df509968b0d2337ae43d460c21f"><div class="ttname"><a href="structPxDebugTriangle.html#a693e3df509968b0d2337ae43d460c21f">PxDebugTriangle::pos2</a></div><div class="ttdeci">PxVec3 pos2</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:108</div></div>
<div class="ttc" id="structPxDebugText_html_a3d263f21a8ed41bebda87ab9729f5df8"><div class="ttname"><a href="structPxDebugText.html#a3d263f21a8ed41bebda87ab9729f5df8">PxDebugText::PxDebugText</a></div><div class="ttdeci">PxDebugText()</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:117</div></div>
<div class="ttc" id="PxVec3_8h_html"><div class="ttname"><a href="PxVec3_8h.html">PxVec3.h</a></div></div>
<div class="ttc" id="PxMat33_8h_html"><div class="ttname"><a href="PxMat33_8h.html">PxMat33.h</a></div></div>
<div class="ttc" id="structPxDebugLine_html"><div class="ttname"><a href="structPxDebugLine.html">PxDebugLine</a></div><div class="ttdoc">Used to store a single line and colour for debug rendering. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:85</div></div>
<div class="ttc" id="structPxDebugTriangle_html_a632b01d73e3e231f8162822fbe6083f9"><div class="ttname"><a href="structPxDebugTriangle.html#a632b01d73e3e231f8162822fbe6083f9">PxDebugTriangle::pos0</a></div><div class="ttdeci">PxVec3 pos0</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:104</div></div>
<div class="ttc" id="structPxDebugText_html_a44db51cb74e87972b0c53196574b1230"><div class="ttname"><a href="structPxDebugText.html#a44db51cb74e87972b0c53196574b1230">PxDebugText::PxDebugText</a></div><div class="ttdeci">PxDebugText(const PxVec3 &amp;p, const PxReal &amp;s, const PxU32 &amp;c, const char *str)</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:119</div></div>
<div class="ttc" id="structPxDebugPoint_html_a819caec76aaea19eb13d6eeda6390d32"><div class="ttname"><a href="structPxDebugPoint.html#a819caec76aaea19eb13d6eeda6390d32">PxDebugPoint::pos</a></div><div class="ttdeci">PxVec3 pos</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:78</div></div>
<div class="ttc" id="structPxDebugText_html"><div class="ttname"><a href="structPxDebugText.html">PxDebugText</a></div><div class="ttdoc">Used to store a text for debug rendering. Doesn&amp;#39;t own &amp;#39;string&amp;#39; array. </div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:115</div></div>
<div class="ttc" id="structPxDebugLine_html_ab1b459f6b3ae5653c5577f2bb9dca994"><div class="ttname"><a href="structPxDebugLine.html#ab1b459f6b3ae5653c5577f2bb9dca994">PxDebugLine::pos0</a></div><div class="ttdeci">PxVec3 pos0</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:90</div></div>
<div class="ttc" id="structPxDebugTriangle_html_a9680024224f24c2e94d0f3be8bad0b02"><div class="ttname"><a href="structPxDebugTriangle.html#a9680024224f24c2e94d0f3be8bad0b02">PxDebugTriangle::PxDebugTriangle</a></div><div class="ttdeci">PxDebugTriangle(const PxVec3 &amp;p0, const PxVec3 &amp;p1, const PxVec3 &amp;p2, const PxU32 &amp;c)</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:101</div></div>
<div class="ttc" id="structPxDebugPoint_html_af675d73fa342d67d973b532950401b62"><div class="ttname"><a href="structPxDebugPoint.html#af675d73fa342d67d973b532950401b62">PxDebugPoint::color</a></div><div class="ttdeci">PxU32 color</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:79</div></div>
<div class="ttc" id="group__foundation_html_gacce5749db3dcfb916e98c253374264ed"><div class="ttname"><a href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a></div><div class="ttdeci">uint32_t PxU32</div><div class="ttdef"><b>Definition:</b> Px.h:48</div></div>
<div class="ttc" id="structPxDebugLine_html_a10269eccc2fe05978ff765aca850c2c4"><div class="ttname"><a href="structPxDebugLine.html#a10269eccc2fe05978ff765aca850c2c4">PxDebugLine::PxDebugLine</a></div><div class="ttdeci">PxDebugLine(const PxVec3 &amp;p0, const PxVec3 &amp;p1, const PxU32 &amp;c)</div><div class="ttdef"><b>Definition:</b> PxRenderBuffer.h:87</div></div>
<div class="ttc" id="classPxVec3_html"><div class="ttname"><a href="classPxVec3.html">PxVec3</a></div><div class="ttdoc">3 Element vector class. </div><div class="ttdef"><b>Definition:</b> PxVec3.h:49</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_614c92edf36df8b9e1f64405ff8ea5e2.html">common</a></li><li class="navelem"><a class="el" href="PxRenderBuffer_8h.html">PxRenderBuffer.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
